Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.dam.contentviews--widgets

This contribution is part of XML component org.nuxeo.dam.contentviews inside nuxeo-dam-jsf-5.8.jar

Extension Point

Extension point widgets of component WebLayoutManager.

Contributed Items

  • <widget name="dam_text_search" type="container">
          <handlingLabels>true</handlingLabels>
          <labels>
            <label mode="any">label.dam.search.textSearch</label>
          </labels>
          <translated>true</translated>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
          </properties>
          <subWidgets>
            <widget name="ecm_fulltext" type="text">
              <labels>
                <label mode="any"/>
              </labels>
              <translated>false</translated>
              <fields>
                <field>dams:ecm_fulltext</field>
              </fields>
              <properties widgetMode="edit">
                <property name="placeholder">
                  #{messages['label.dam.search.text.placeholder']}
                </property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="dam_date_search" type="container">
          <handlingLabels>true</handlingLabels>
          <labels>
            <label mode="any">label.dam.search.dateSearch</label>
          </labels>
          <translated>true</translated>
          <subWidgets>
            <widget name="dc_creationDate" type="datetimeRange">
              <labels>
                <label mode="any">label.dublincore.creationDate</label>
              </labels>
              <translated>true</translated>
              <fields>
                <field>dams:dc_created_min</field>
                <field>dams:dc_created_max</field>
              </fields>
              <properties widgetMode="edit">
                <property name="styleClass">dataInputTextDate</property>
                <property name="format">#{nxu:basicDateAndTimeFormater()}</property>
              </properties>
            </widget>
            <widget name="damc_authoringDate" type="datetimeRange">
              <labels>
                <label mode="any">label.dam.damc.authoringDate</label>
              </labels>
              <translated>true</translated>
              <fields>
                <field>dams:damc_authoringDate_min</field>
                <field>dams:damc_authoringDate_max</field>
              </fields>
              <properties widgetMode="edit">
                <property name="styleClass">dataInputTextDate</property>
                <property name="format">#{nxu:basicDateAndTimeFormater()}</property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="dam_user_search" type="container">
          <handlingLabels>true</handlingLabels>
          <labels>
            <label mode="any">label.dam.search.userSearch</label>
          </labels>
          <translated>true</translated>
          <subWidgets>
            <widget name="dc_creator" type="multipleUsersSuggestion">
              <labels>
                <label mode="any">label.dublincore.creator</label>
              </labels>
              <fields>
                <field>dams:dc_creator</field>
              </fields>
              <properties widgetMode="edit">
                <property name="searchType">USER_TYPE</property>
                <property name="minChars">3</property>
                <property name="hideHelpLabel">true</property>
                <property name="width">95%</property>
              </properties>
            </widget>
            <widget name="damc_author" type="text">
              <labels>
                <label mode="any">label.dam.damc.author</label>
              </labels>
              <translated>true</translated>
              <fields>
                <field>dams:damc_author</field>
              </fields>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="dam_categorization_search" type="container">
          <handlingLabels>true</handlingLabels>
          <labels>
            <label mode="any">label.dam.search.categorizationSearch</label>
          </labels>
          <translated>true</translated>
          <properties widgetMode="any">
          </properties>
          <subWidgets>
            <widget name="dc_subjects" type="suggestManyDirectory">
              <labels>
                <label mode="any">label.dublincore.subject</label>
              </labels>
              <translated>true</translated>
              <fields>
                <field>dams:dc_subjects</field>
              </fields>
              <properties widgetMode="any">
                <property name="directoryName">l10nsubjects</property>
                <property name="dbl10n">true</property>
                <property name="minChars">0</property>
                <property name="hideHelpLabel">true</property>
                <property name="filterParent">true</property>
                <property name="canSelectParent">true</property>
                <property name="width">95%</property>
              </properties>
            </widget>
            <widget name="dc_coverage" type="suggestManyDirectory">
              <labels>
                <label mode="any">label.dublincore.coverage</label>
              </labels>
              <translated>true</translated>
              <fields>
                <field>dams:dc_coverage</field>
              </fields>
              <properties widgetMode="any">
                <property name="directoryName">l10ncoverage</property>
                <property name="dbl10n">true</property>
                <property name="minChars">0</property>
                <property name="hideHelpLabel">true</property>
                <property name="filterParent">true</property>
                <property name="canSelectParent">true</property>
                <property name="width">95%</property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="dam_location_search" type="container">
          <handlingLabels>true</handlingLabels>
          <labels>
            <label mode="any">label.dam.search.locationSearch</label>
          </labels>
          <translated>true</translated>
          <subWidgets>
            <widget name="ecm_path" type="select_path_tree">
              <labels>
                <label mode="any">label.dam.search.path</label>
              </labels>
              <translated>true</translated>
              <fields>
                <field>dams:ecm_path</field>
              </fields>
              <properties widgetMode="any">
                <property name="showAllDomains">true</property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="dam_tags_search" type="container">
          <handlingLabels>true</handlingLabels>
          <labels>
            <label mode="any">label.dam.search.tagSearch</label>
          </labels>
          <translated>true</translated>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
          </properties>
          <subWidgets>
            <widget name="tags" type="select_tags">
              <labels>
                <label mode="any"/>
              </labels>
              <translated>true</translated>
              <fields>
                <field>dams:ecm_tags</field>
              </fields>
              <properties widgetMode="edit">
                <property name="placeholder">
                  #{messages['label.dam.search.tags.placeholder']}
                </property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="dam_listing_title" type="dam_title">
          <labels>
            <label mode="any">label.content.header.title</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data</field>
          </fields>
        </widget>
  • <widget name="dam_listing_thumbnail" type="listing_thumbnail">
          <labels>
            <label mode="any"/>
          </labels>
          <translated>false</translated>
          <fields>
            <field>data</field>
          </fields>
        </widget>
  • <widget name="dam_listing_selection" type="dam_listing_selection">
          <labels>
            <label mode="any"/>
          </labels>
          <fields>
            <field>data</field>
            <field>selected</field>
            <field>data.ref</field>
          </fields>
          <properties widgetMode="any">
            <property name="hideExtension">true</property>
          </properties>
        </widget>
  • <widget name="dam_listing_metadata" type="layout">
          <labels>
            <label mode="any"/>
          </labels>
          <translated>false</translated>
          <fields>
            <field>data</field>
          </fields>
          <properties widgetMode="any">
            <property name="name">dam_common</property>
            <property name="widgetsDisplay">no_label</property>
          </properties>
        </widget>
  • <widget name="dam_listing_size_and_format" type="container">
          <properties widgetMode="view">
            <property name="display">inline</property>
            <property name="hideSubLabels">true</property>
          </properties>
          <subWidgetRefs>
            <widget>dam_listing_size</widget>
            <widget>dam_listing_main_file_format</widget>
          </subWidgetRefs>
        </widget>
  • <widget name="dam_listing_size" type="listing_main_file_size">
          <labels>
            <label mode="any"/>
          </labels>
          <translated>false</translated>
          <fields>
            <field>data</field>
          </fields>
        </widget>
  • <widget name="dam_listing_main_file_format" type="listing_main_file_format">
          <labels>
            <label mode="any"/>
          </labels>
          <translated>false</translated>
          <fields>
            <field>data</field>
          </fields>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <!-- widgets for dam_search -->

    <widget name="dam_text_search" type="container">
      <handlingLabels>true</handlingLabels>
      <labels>
        <label mode="any">label.dam.search.textSearch</label>
      </labels>
      <translated>true</translated>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
      </properties>
      <subWidgets>
        <widget name="ecm_fulltext" type="text">
          <labels>
            <label mode="any"/>
          </labels>
          <translated>false</translated>
          <fields>
            <field>dams:ecm_fulltext</field>
          </fields>
          <properties widgetMode="edit">
            <property name="placeholder">
              #{messages['label.dam.search.text.placeholder']}
            </property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="dam_date_search" type="container">
      <handlingLabels>true</handlingLabels>
      <labels>
        <label mode="any">label.dam.search.dateSearch</label>
      </labels>
      <translated>true</translated>
      <subWidgets>
        <widget name="dc_creationDate" type="datetimeRange">
          <labels>
            <label mode="any">label.dublincore.creationDate</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>dams:dc_created_min</field>
            <field>dams:dc_created_max</field>
          </fields>
          <properties widgetMode="edit">
            <property name="styleClass">dataInputTextDate</property>
            <property name="format">#{nxu:basicDateAndTimeFormater()}</property>
          </properties>
        </widget>
        <widget name="damc_authoringDate" type="datetimeRange">
          <labels>
            <label mode="any">label.dam.damc.authoringDate</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>dams:damc_authoringDate_min</field>
            <field>dams:damc_authoringDate_max</field>
          </fields>
          <properties widgetMode="edit">
            <property name="styleClass">dataInputTextDate</property>
            <property name="format">#{nxu:basicDateAndTimeFormater()}</property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="dam_user_search" type="container">
      <handlingLabels>true</handlingLabels>
      <labels>
        <label mode="any">label.dam.search.userSearch</label>
      </labels>
      <translated>true</translated>
      <subWidgets>
        <widget name="dc_creator" type="multipleUsersSuggestion">
          <labels>
            <label mode="any">label.dublincore.creator</label>
          </labels>
          <fields>
            <field>dams:dc_creator</field>
          </fields>
          <properties widgetMode="edit">
            <property name="searchType">USER_TYPE</property>
            <property name="minChars">3</property>
            <property name="hideHelpLabel">true</property>
            <property name="width">95%</property>
          </properties>
        </widget>
        <widget name="damc_author" type="text">
          <labels>
            <label mode="any">label.dam.damc.author</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>dams:damc_author</field>
          </fields>
        </widget>
      </subWidgets>
    </widget>

    <widget name="dam_categorization_search" type="container">
      <handlingLabels>true</handlingLabels>
      <labels>
        <label mode="any">label.dam.search.categorizationSearch</label>
      </labels>
      <translated>true</translated>
      <properties widgetMode="any">
      </properties>
      <subWidgets>
        <widget name="dc_subjects" type="suggestManyDirectory">
          <labels>
            <label mode="any">label.dublincore.subject</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>dams:dc_subjects</field>
          </fields>
          <properties widgetMode="any">
            <property name="directoryName">l10nsubjects</property>
            <property name="dbl10n">true</property>
            <property name="minChars">0</property>
            <property name="hideHelpLabel">true</property>
            <property name="filterParent">true</property>
            <property name="canSelectParent">true</property>
            <property name="width">95%</property>
          </properties>
        </widget>
        <widget name="dc_coverage" type="suggestManyDirectory">
          <labels>
            <label mode="any">label.dublincore.coverage</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>dams:dc_coverage</field>
          </fields>
          <properties widgetMode="any">
            <property name="directoryName">l10ncoverage</property>
            <property name="dbl10n">true</property>
            <property name="minChars">0</property>
            <property name="hideHelpLabel">true</property>
            <property name="filterParent">true</property>
            <property name="canSelectParent">true</property>
            <property name="width">95%</property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="dam_location_search" type="container">
      <handlingLabels>true</handlingLabels>
      <labels>
        <label mode="any">label.dam.search.locationSearch</label>
      </labels>
      <translated>true</translated>
      <subWidgets>
        <widget name="ecm_path" type="select_path_tree">
          <labels>
            <label mode="any">label.dam.search.path</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>dams:ecm_path</field>
          </fields>
          <properties widgetMode="any">
            <property name="showAllDomains">true</property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="dam_tags_search" type="container">
      <handlingLabels>true</handlingLabels>
      <labels>
        <label mode="any">label.dam.search.tagSearch</label>
      </labels>
      <translated>true</translated>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
      </properties>
      <subWidgets>
        <widget name="tags" type="select_tags">
          <labels>
            <label mode="any"/>
          </labels>
          <translated>true</translated>
          <fields>
            <field>dams:ecm_tags</field>
          </fields>
          <properties widgetMode="edit">
            <property name="placeholder">
              #{messages['label.dam.search.tags.placeholder']}
            </property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <!-- widgets for listings -->

    <widget name="dam_listing_title" type="dam_title">
      <labels>
        <label mode="any">label.content.header.title</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data</field>
      </fields>
    </widget>

    <widget name="dam_listing_thumbnail" type="listing_thumbnail">
      <labels>
        <label mode="any"/>
      </labels>
      <translated>false</translated>
      <fields>
        <field>data</field>
      </fields>
    </widget>

    <widget name="dam_listing_selection" type="dam_listing_selection">
      <labels>
        <label mode="any"/>
      </labels>
      <fields>
        <field>data</field>
        <field>selected</field>
        <field>data.ref</field>
      </fields>
      <properties widgetMode="any">
        <property name="hideExtension">true</property>
      </properties>
    </widget>

    <widget name="dam_listing_metadata" type="layout">
      <labels>
        <label mode="any"/>
      </labels>
      <translated>false</translated>
      <fields>
        <field>data</field>
      </fields>
      <properties widgetMode="any">
        <property name="name">dam_common</property>
        <property name="widgetsDisplay">no_label</property>
      </properties>
    </widget>

    <widget name="dam_listing_size_and_format" type="container">
      <properties widgetMode="view">
        <property name="display">inline</property>
        <property name="hideSubLabels">true</property>
      </properties>
      <subWidgetRefs>
        <widget>dam_listing_size</widget>
        <widget>dam_listing_main_file_format</widget>
      </subWidgetRefs>
    </widget>

    <widget name="dam_listing_size" type="listing_main_file_size">
      <labels>
        <label mode="any"/>
      </labels>
      <translated>false</translated>
      <fields>
        <field>data</field>
      </fields>
    </widget>

    <widget name="dam_listing_main_file_format" type="listing_main_file_format">
      <labels>
        <label mode="any"/>
      </labels>
      <translated>false</translated>
      <fields>
        <field>data</field>
      </fields>
    </widget>

  </extension>